ostree-fetcher: move more logic into ostree_fetcher_request_uri_internal
authorGiuseppe Scrivano <gscrivan@redhat.com>
Tue, 11 Nov 2014 10:24:43 +0000 (11:24 +0100)
committerColin Walters <walters@verbum.org>
Thu, 13 Nov 2014 02:20:28 +0000 (21:20 -0500)
commitf699153f67b1e37310434ffacd14695d2e89745d
tree2a0cd32236c2427188869224543c77a4aff51ecc
parenta5491f98cbeda5c37bf8abcd90817bc9cd70b63e
ostree-fetcher: move more logic into ostree_fetcher_request_uri_internal

Make _ostree_fetcher_request_uri_with_partial_async and
ostree_fetcher_stream_uri_async simple wrapper around the same
function, all the requests are created in the same place now.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
src/libostree/ostree-fetcher.c